require "test/unit"
$:.unshift File.dirname(__FILE__) + '/../lib'

require 'Eyealike'

class CollectionTestCase < Test::Unit::TestCase
  
  
  
  def test_hmac_signature
    
    client = Eyealike.new("V5VF5X79W1OCW6KQBGOM", "kQWhIzEHZjXeAfQozfcb7/AVtmZYjL7rTGIpm+J/", false, "vsp02", 8080)
        
    msg = 'test'
    
    
    sig = client.create_signature(msg)
    
    assert_not_nil(sig)
    
    puts sig
   
  end
end